home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Deutsche Edition 1
/
Deutsche Edition 1.iso
/
amok
/
081-090
/
amok90
/
amoked1.41
/
macros
/
oberonc.aed
< prev
next >
Wrap
Text File
|
1993-11-04
|
648b
|
36 lines
/* OberonC - Compiliert Oberon Programme */
options results
if ~show('L','rexxsupport.library') then
call addlib('rexxsupport.library',0,-30)
'top first'
'find MODULE' ; 'wright'
'scanf %[~;]'
'chfilename $scanf.mod'
'getval $filename'
filename = result
'getval $screenname'
screenname = result
'if m (rx bumprevision saveold)'
call close 'STDERR'
call open 'STDERR','NIL:','W'
call close 'STDIN'
call close 'STDOUT'
call open 'STDOUT','CON:25/15/640/256/RexxCon/SCREEN'||screenname,'RW'
call pragma '*','STDOUT'
address command 'oberon >* <*' filename
if rc ~= 0 then do
close('STDOUT')
'ObError read'
end; else
close('STDOUT')